package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.InspectionRuleProjectItemDTO;

public interface InspectionRuleProjectItemService {

    List<InspectionRuleProjectItemDTO> index(Searchable searchable);

    Page<InspectionRuleProjectItemDTO> page(Searchable searchable, Pageable pageable);

    InspectionRuleProjectItemDTO create(final InspectionRuleProjectItemDTO dto);

    InspectionRuleProjectItemDTO update(final Long id, final InspectionRuleProjectItemDTO dto);

    InspectionRuleProjectItemDTO detail(final Long id);

    void delete(final Long id);

    void deleteBatch(final Long[] ids);
}
